<?php

namespace app\models;

use Yii;
use yii\base\Model;

/**
 * LoginForm is the model behind the login form.
 *
 * @property User|null $user This property is read-only.
 *
 */
class AddressForm extends Model
{
    public $fullname;
    public $mobile;
    public $province;
    public $city;
    public $district;
    public $address;


    /**
     * @return array the validation rules.
     */
    public function rules()
    {
        return [
            [['fullname', 'mobile','province','city','district','address'], 'required'],
        ];
    }

    /**
     * Validates the password.
     * This method serves as the inline validation for password.
     *
     * @param string $attribute the attribute currently being validated
     * @param array $params the additional name-value pairs given in the rule
     */


}
